<!DOCTYPE html>
<html lang="cs">
    <head>
        <title>Frydrychson</title>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <link rel="stylesheet" type="text/css" href="css/reset.css" media="screen, print" />
        <link rel="stylesheet" type="text/css" href="css/style.css" media="screen, print" />
        <link rel="stylesheet" type="text/css" href="css/forms.css" media="screen, print" />
        <link rel="stylesheet" type="text/css" href="js/jquery-placeholder-plugin/jquery.placeholder.css" media="screen, print" />
        <script src="http://code.jquery.com/jquery-1.9.1.js" type="text/javascript"></script>
        <script src="js/menu.js" type="text/javascript"></script>
        <script src="js/jquery-placeholder-plugin/jquery.placeholder.js" type="text/javascript"></script>
    </head>
    <body>
        <div id="main-box">
            <div id="header">
                <p>Header</p>
            </div>
            
            <div id="menu-top">
                <ul>
                    <!-- psat menu odzadu, kvuli zarovnani v css  -->
                    <li class="headlink-top"><a href="pages/frmContacts.php" title="Kontakty">Kontakty</a></li>
                    <li class="headlink-top"><a href="pages/frmAbout.php" title="O mě">O mě</a></li>
                    <li class="headlink-top"><a href="pages/frmHome.php" title="Domů">Domů</a></li>
                </ul>
            </div>
            
            <div id="menu-left">
                <ul>
                    <li class="headlink"><a href="#" title="">Menu left 1</a>                                                   
                        <ul>
                            <li><a href="#" title="">SubMenu left 1.1</a></li>
                            <li><a href="#" title="">SubMenu left 1.2</a></li>
                            <li><a href="#" title="">SubMenu left 1.3</a></li>
                        </ul> 
                    </li> 
                    <li class="headlink"><a href="#" title="">Menu left 2</a>
                        <ul>
                            <li><a href="#" title="">SubMenu left 2.1</a></li>
                            <li><a href="#" title="">SubMenu left 2.2</a></li>
                            <li><a href="#" title="">SubMenu left 2.3</a></li>
                            <li><a href="#" title="">SubMenu left 2.4</a></li>
                            <li><a href="#" title="">SubMenu left 2.5</a></li>                            
                        </ul> 
                    </li>                         
                </ul>
            </div>
                
            <div id="content-box">
                <div id="content">
                   
                    <?php

                    $id = isset($_GET['id']) ? $_GET['id'] : ''; 
                    switch($id)
                    {
                        case 'frmEmailSend':
                            include ("./pages/frmEmailSend.php");
                            break;
                        
                        case 'frmContacts':
                            include ("./pages/frmContacts.php");
                            break;
                        
                        default:
                          require_once ("./pages/frmHome.php");
                        break;   
                    }
                    ?>                
                </div>
            </div>
            
            <div id="footer">
                <p>Copyleft</p>
            </div>
        </div>
    </body>
</html>
